<{include file="news_header.html"}>
</header>
<body class="oneColLiqCtrHdr">
<div id="container">

  <div id="header">
<h1><{if $action eq "add"}>添加<{elseif $action eq "edit"}>编辑<{/if}>公告分类</h1>
  </div>

  <div id="mainContent">
  	<{if $error <> ''}><div id="error"><span style="color:red">Error:</span> <{$error}></div><{/if}>
  	<{if $success <> ''}><div id="success"><span style="color:blue">Success:</span><{$success}></div><{/if}>

	      <table width="600" height="400" border="0" align="center">  
    <form id="form1" name="form1" method="post" action="?module=cat&action=<{if $action eq "add"}>add<{elseif $action eq "edit"}>edit&nid=<{$nid}><{/if}>">

        <tr height="40">
          <td>
          	<label>分类名称:<br /> <input type="text" name="catName" id="catName" class="inputBox" <{if $xName <> ''}>value="<{$xName}>"<{/if}> />
            </label>
          </td>
        </tr>

        <tr  height="200">
          <td>
            <label>分类注释:<br />
              <textarea name="catDesc" id="catDesc" cols="50" rows="15" ><{if $xDesc <> ''}><{$xDesc}><{/if}></textarea>
            </label>
        
          </td>
        </tr>
        <tr>
          <td>
            <label>
              <input type="submit" name="catSubmit" id="catSubmit" value="提交分类" />
           	</label>
           	 		<label><input name="reset" type="reset" value="重置" /></label>
           	</td>
        </tr>
    </form>
    
      </table>

<{include file="news_footer.html"}>